package org.glut.wechat.moments.feign;

import org.glut.wechat.moments.bo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("microservice-personal-center")
public interface PersonalCenterFeignService {

    @GetMapping("/user/GetUserInfo")
    public ResponseEntity<User> getUserInfo(@RequestParam Integer userId);

}
